package com.igeek.pojo;

import java.time.LocalDate;

public class Order {


    private Integer id;
    private Integer user_id;
    private Integer number;
    private LocalDate createtime;
    private String note;


    public Order() {
    }

    public Order(Integer id, Integer user_id, Integer number, LocalDate createtime, String note) {
        this.id = id;
        this.user_id = user_id;
        this.number = number;
        this.createtime = createtime;
        this.note = note;
    }

    /**
     * 获取
     * @return id
     */
    public Integer getId() {
        return id;
    }

    /**
     * 设置
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取
     * @return user_id
     */
    public Integer getUser_id() {
        return user_id;
    }

    /**
     * 设置
     * @param user_id
     */
    public void setUser_id(Integer user_id) {
        this.user_id = user_id;
    }

    /**
     * 获取
     * @return number
     */
    public Integer getNumber() {
        return number;
    }

    /**
     * 设置
     * @param number
     */
    public void setNumber(Integer number) {
        this.number = number;
    }

    /**
     * 获取
     * @return createtime
     */
    public LocalDate getCreatetime() {
        return createtime;
    }

    /**
     * 设置
     * @param createtime
     */
    public void setCreatetime(LocalDate createtime) {
        this.createtime = createtime;
    }

    /**
     * 获取
     * @return note
     */
    public String getNote() {
        return note;
    }

    /**
     * 设置
     * @param note
     */
    public void setNote(String note) {
        this.note = note;
    }

    public String toString() {
        return "Order{id = " + id + ", user_id = " + user_id + ", number = " + number + ", createtime = " + createtime + ", note = " + note + "}";
    }
}
